// Chrometris 1.0 for Chrome OS
// Copyright (c) 2010 Joseph Huckaby

Sprite.extend( 'Tile', {
	
	width: 40,
	height: 40,
	className: 'tile',
	
	tx: 0,
	ty: 0,
	
	logic: function() {
		
	},
	
	draw: function() {
		this.x = this.tx * this.width;
		this.y = this.ty * this.height;
		this.__parent.draw.call(this);
	}
	
} );
